<!DOCTYPE html>
<html>
<head>
    <title>添加学生信息</title>
</head>
<body>
<h1>学生信息表单</h1>
<form>
    <label for="name">姓名:</label>
    <input type="text" id="name" name="name"><br><br>
    <label for="age">年龄:</label>
    <input type="text" id="age" name="age"><br><br>
    <label for="class">班级:</label>
    <input type="text" id="class" name="class"><br><br>
    <input type="button" value="添加" onclick="addMessageList(name.value, age.value, class.value)">
</form>
<table id="tablebox">
    <tr>
        <th>姓名</th>
        <th>年龄</th>
        <th>班级</th>
    </tr>
</table>
</body>
</html>